package com.ruoyi.mdm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.math.BigDecimal;
import java.util.Date;

/**

 * @author shiseido
 * @date 2025-03-01
 */
@Data
public class SkuSampleEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 所属品牌代码
     */
    @Excel(name = "品牌", sort = 1, dictType = "goods_brand", width = 10)
    private String ownerId;

    /**
     * 商品编号
     */
    @Excel(name = "产品编码", sort = 2, width = 15)
    private String goodsCode;

    /**
     * 商品名称(中文)
     */
    @Excel(name = "产品中文名称", sort = 3, width = 30, align = HorizontalAlignment.LEFT)
    private String goodsName;

    /**
     * 商品名称(英文)
     */
    @Excel(name = "产品英文名称", sort = 4, width = 30, align = HorizontalAlignment.LEFT)
    private String goodsNameEn;

    /**
     * 产品中文简称
     */
    @Excel(name = "产品简称", sort = 5, width = 30, align = HorizontalAlignment.LEFT)
    private String goodsShortName;

    /**
     * 容量
     */
    private Double content;

    /**
     * 容量单位 ml/g/pcs
     */
    private String contentUnit;

    /**
     * 价格
     */
    private BigDecimal samplePrice;


    private String isGWP;


    /**
     *类型
     */
    private String saletype;


    /**
     * spu编码
     */
    private String spuCode;

    /**
     * spu中文名称
     */
    @Excel(name = "SPU中文名称", sort = 13, align = HorizontalAlignment.LEFT)
    private String spuName;

    /**
     * spu英文名称
     */
    @Excel(name = "SPU英文名称", sort = 14, align = HorizontalAlignment.LEFT)
    private String spuNameEn;

    /**
     * spu简称
     */
    @Excel(name = "SPU简称", sort = 15, align = HorizontalAlignment.LEFT)
    private String spuShortName;

    /**
     * etl时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Date updateTime;

    private String createBy;

    private String updateBy;

    private String maxPrice;

    private String minPrice;

}
